package com.woniuxy.vuecli.mapper;

import com.woniuxy.vuecli.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author author
 * @Create 2024-01-15 15:10
 */
public interface RoleMapper {
    List<Role> selectByMid(int mid);

    List<Role> selectAll();

    void deleteMenusByRid(int rid);

    void insertMenusByRid(@Param("rid") int rid, @Param("mids") int[] mids);

}
